
<h1>Login</h1>
<div style="text-align:center;">
<?php
if(!isset($_COOKIE['authcookie'])){
?>
<form method="post" action="login.php">
<input type="hidden" value="atheme.login" name="method" />
<h3>Nickname</h3>
<input type="text" name="in_account" />
<h3>Password</h3>
<input type="password" name="in_password" />
<br />
<input type="submit" value="Submit" />
</form>
<?php 
}else{
echo "Your already logged in!";
}
?>
</div>
